-
-
Notifications
You must be signed in to change notification settings - Fork 687
refactor(linter): remove unused allocator param in Runtime
for LSP & tests
#14489
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactor(linter): remove unused allocator param in Runtime
for LSP & tests
#14489
Conversation
How to use the Graphite Merge QueueAdd either label to this PR to merge it via the merge queue:
You must have a Graphite account in order to use the merge queue. Sign up using this link. An organization admin has enabled the Graphite Merge Queue in this repository. Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue. This stack of pull requests is managed by Graphite. Learn more about stacking. |
CodSpeed Performance ReportMerging #14489 will not alter performanceComparing Summary
Footnotes
|
f5b2a15
to
b924c78
Compare
f5c2e7f
to
2fabf08
Compare
Merge activity
|
2fabf08
to
0b6328b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR removes an unused allocator parameter from the Runtime
struct's methods in the linter service, affecting both the language server integration and test infrastructure.
- Removes the unused
allocator
parameter fromrun_source
andrun_test_source
methods - Updates all call sites to match the new method signatures
- Simplifies the API by removing unnecessary parameters
Reviewed Changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.
File | Description |
---|---|
crates/oxc_linter/src/service/runtime.rs | Removes allocator parameter from run_source and run_test_source method signatures |
crates/oxc_linter/src/service/mod.rs | Updates LintService wrapper methods to match new Runtime method signatures |
crates/oxc_linter/src/tester.rs | Removes allocator variable declaration and updates method call to run_test_source |
crates/oxc_language_server/src/linter/isolated_lint_handler.rs | Removes allocator variable declaration and updates method call to run_source |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
0b6328b
to
b301795
Compare
No description provided.